package com.example.kafka.data;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PrivateMsgEventData extends BaseEventData {
    private Long senderId;    // 发送者ID
    private Long receiverId;  // 接收者ID
    private String message;     // 私信内容
    private Long timestamp;     // 发送时间
}

